home *** CD-ROM | disk | FTP | other *** search
-
- NAME: Animate one background
- PURPOSE: Animate the background of the current icon
- Icon 1 = Background
- Icon 2 = Foreground
- ---------------------------------------------------
-
- MSG: Load the file car1-1.ico to slot 1 and car1-2.ico to slot 2... (these icons are located in the scripts directory),65,Information
-
- Shift icon 1 one pixel to the right and copy it to the clipboard
- ICON: 1
- KEY: {F9}
- KEY: 6
- KEY: %O
- KEY: C
-
- Paste icon 1 into icon 3
- ICON: 3
- KEY: V
-
- Copy icon 2 to the clipboard
- ICON: 2
- KEY: C
-
- Paste icon 2 into icon 3
- ICON: 3
- KEY: V
-
- Create a new animation
- KEY: %(AN)
-
- Copy icon 3 to the first frame of the animation and wait to finish this action
- KEY: %(AO)
- WAIT: 1
-
- ----------
-
- Repeat the following block 31 times to create an animation with 32 frames
-
- LOOP: 31
- Shift icon 1 one pixel to the right and copy it to the clipboard
- ICON: 1
- KEY: {F9}
- KEY: 6
- KEY: %O
- KEY: C
-
- Paste icon 1 into icon 3
- ICON: 3
- KEY: V
-
- Copy icon 2 to the clipboard
- ICON: 2
- KEY: C
-
- Paste icon 2 into icon 3
- ICON: 3
- KEY: V
-
- Insert the icon at the end of the animation
- KEY: I
- KEY: %E
- KEY: %O
- END LOOP
-
- ----------
-
-
- Set Jiffies to '1'
- KEY: %J
- KEY: {HOME}
-
-
-